@layout("/common/_container.html"){
<div class="layui-card">
	<input type="hidden" id="eleFenceId" value="${eleFence.eleFenceId}">
	<div class="layui-inline" style="font-size: 16px;font-weight: 600;">
		<label class="layui-form-label" style="font-size: 16px;font-weight: 600;">围栏名称：</label>
		<div class="layui-form-mid">
			${eleFence.fenceName}
		</div>
	</div>

	<div class="layui-card-body">
		<table class="layui-hidden" id="table" lay-filter="table"></table>
		<script type="text/html" id="oper">
		</script>
	</div>
</div>

<script>
layui.config({
	base: Feng.ctxPath + "/static/layuiadmin/" //静态资源所在路径
}).extend({
	index: 'lib/index' //主入口模块
}).use(['index', 'layer','table', 'form'],function(){
	
	var $ = layui.$
  	,form = layui.form
  	,table = layui.table;
	var eleFenceId = $("#eleFenceId").val();

	var loadingIndex = layer.msg('数据加载中', {icon: 16, time: 0 });
	table.render({
	    elem: '#table'
	    ,url: Feng.ctxPath + '/eleFence/account/list'
	    ,cellMinWidth: 100
	    //,height: 'full-168' //设置高度
	    ,height: '' //设置高度
	    ,cols: [[
	        {title: '序号', type: 'numbers'},
	        {title: '差分账号', field: 'account'},
	        {title: '服务类型', field: 'productName'},
	    ]]
        ,where: {
            eleFenceId: eleFenceId
        }
	    ,page:true
	    ,loading:true
	    ,text: {
	        none: '暂无相关数据' 
	      }
	    ,done: function(res){
	    	layer.close(loadingIndex);
        }
	});

});



   
</script>
@}
